﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AttributeDemo
{
    [AttributeUsage(AttributeTargets.Class)]
    public class BlockAttribute : Attribute
    {
        public Level Level
        {
            get;
            set;
        }

        public BlockAttribute(Level level)
        {
            Level = level;
        }
    }

    public enum Level
    {
        NO,
        Yes
    }
}
